;Assembler header file for Arcweb
;written by DefMod (Dec 31 2005) on Sat Dec 31 14:11:43 2005
;Tom Hughes, tom@compton.nu, 28 Mar 1999

        [       :LNOT: :DEF: Arcweb_Hdr
        GBLS    Arcweb_Hdr

        [       :LNOT: :DEF: Get_Types
        GBLS    Get_Types
        ]
        [       :LNOT: :DEF: Types_Hdr
Get_Types                       SETS    "GET oslib/Types.Hdr"
        |
Get_Types                       SETS    ""
        ]
        $Get_Types

        [       :LNOT: :DEF: Get_OS
        GBLS    Get_OS
        ]
        [       :LNOT: :DEF: OS_Hdr
Get_OS                          SETS    "GET oslib/OS.Hdr"
        |
Get_OS                          SETS    ""
        ]
        $Get_OS

        [       :LNOT: :DEF: Get_Wimp
        GBLS    Get_Wimp
        ]
        [       :LNOT: :DEF: Wimp_Hdr
Get_Wimp                        SETS    "GET oslib/Wimp.Hdr"
        |
Get_Wimp                        SETS    ""
        ]
        $Get_Wimp

;Symbols for constants
Message_ArcwebFetchRequest      *       &4A240
Message_ArcwebFetchDone         *       &4A241
Message_ArcwebRenderRequest     *       &4A242
Message_ArcwebRenderDone        *       &4A243
Message_ArcwebPostRequest       *       &4A244
Message_ArcwebPostDone          *       &4A245
Message_ArcwebEmailRequest      *       &4A246
Message_ArcwebEmailDone         *       &4A247
Message_ArcwebImageSize         *       &4A250
Message_ArcwebImageComplete     *       &4A251
Message_ArcwebXferControl       *       &4A252
Message_ArcwebXferControlAck    *       &4A253
Message_ArcwebQuit              *       &4A260
Message_ArcwebExpire            *       &4A261
Message_ArcwebAbortRequest      *       &4A262
Message_ArcwebTransferStatus    *       &4A263
Message_ArcwebConfigure         *       &4A264
Message_ArcwebExternalLaunch    *       &4A265
Message_ArcwebLaunchDone        *       &4A266
Message_ArcwebWebBrowser        *       &4A267
Message_ArcwebColourSelected    *       &4A268
Message_ArcwebPermanentMove     *       &4A269
Arcweb_DocumentFetch            *       &1
Arcweb_LocalLaunch              *       &2
Arcweb_FastImages               *       &4
Arcweb_PostWasPut               *       &8
Arcweb_ImagesDisabled           *       &10
Arcweb_XferControl              *       &20
Arcweb_RefererAvailable         *       &80
Arcweb_ForcingImages            *       &100
Arcweb_Put                      *       &200
Arcweb_MakeDirectory            *       &400
Arcweb_RemoveDirectory          *       &800
Arcweb_Remove                   *       &1000
Arcweb_Rename                   *       &2000
Arcweb_ExtendedType             *       &10000
Arcweb_TypeMask                 *       &1FFFF
Arcweb_LoadToDisc               *       &80000
Arcweb_Reload                   *       &100000
Arcweb_EmailComplete            *       &200000
Arcweb_ExtendedURL              *       &400000
Arcweb_InhibitDisplay           *       &800000
Arcweb_ErrorHandled             *       &1000000
Arcweb_ImageFetch               *       &2000000
Arcweb_ClosePrevious            *       &4000000
Arcweb_URLChanged               *       &8000000
Arcweb_WantSymlink              *       &10000000
Arcweb_InhibitRender            *       &20000000
Arcweb_TypeKnown                *       &40000000
Arcweb_Error                    *       &80000000
Arcweb_PlainText                *       &10000
Arcweb_HTML                     *       &10001
Arcweb_Image                    *       &10002
Arcweb_Audio                    *       &10003
Arcweb_Video                    *       &10004
Arcweb_Binary                   *       &10005
Arcweb_ImageJPEG                *       &10100
Arcweb_ImageGIF                 *       &10101
Arcweb_ImageJFIF                *       &10102
Arcweb_ImageBMP                 *       &10103
Arcweb_ImageXBM                 *       &10104
Arcweb_ImageClear               *       &10105
Arcweb_ImageTIFF                *       &10106
Arcweb_ImagePNG                 *       &10107
Arcweb_VideoMPEG                *       &10200
Arcweb_VideoArmovie             *       &10201
Arcweb_AudioMisc                *       &10300
Arcweb_AudioSimple              *       &10301
Arcweb_AudioAIFF                *       &10302
Arcweb_Unknown                  *       &1FFFF
Arcweb_XmitRunning              *       &1
Arcweb_RecvRunning              *       &2
Arcweb_XmitComplete             *       &4
Arcweb_RecvComplete             *       &8
Arcweb_MiscRunning              *       &10

;Symbols for structure offsets and sizes
Arcweb_H                        *       4 ;abstract type
                                ^       0
Arcweb_URL_url_file_w           #       OS_FW
                                ^       0
Arcweb_URL_url                  #       200*Char
Arcweb_URL                      *       @

                                ^       0
Arcweb_Expiry_use_given_expiry  #       Int
Arcweb_Expiry_use_default_expiry #       Int
Arcweb_Expiry_date              #       OS_DateAndTime
Arcweb_Expiry_reserved          #       3*Char
Arcweb_Expiry_response_code     #       Int
Arcweb_Expiry_mime_type         #       208*Char
Arcweb_Expiry                   *       @

                                ^       0
Arcweb_MessageFetchRequest_handle #       Arcweb_H
Arcweb_MessageFetchRequest_flags #       Bits
Arcweb_MessageFetchRequest_source_file #       Int
Arcweb_MessageFetchRequest_url  #       Arcweb_URL
Arcweb_MessageFetchRequest      *       @

                                ^       0
Arcweb_MessageFetchDone_handle  #       Arcweb_H
Arcweb_MessageFetchDone_flags   #       Bits
Arcweb_MessageFetchDone_result  *       @
Arcweb_MessageFetchDone_result_expiry #       Arcweb_Expiry
                                ^       Arcweb_MessageFetchDone_result
Arcweb_MessageFetchDone_result_error #       228*Char
Arcweb_MessageFetchDone         *       @

                                ^       0
Arcweb_MessageRenderRequest_handle #       Arcweb_H
Arcweb_MessageRenderRequest_flags #       Bits
Arcweb_MessageRenderRequest_source_file #       Int
Arcweb_MessageRenderRequest_temporary_file #       Int
Arcweb_MessageRenderRequest_diagram_file #       Int
Arcweb_MessageRenderRequest_link_file #       Int
Arcweb_MessageRenderRequest_file_header_size #       Int
Arcweb_MessageRenderRequest_file_header #       208*Char
Arcweb_MessageRenderRequest     *       @

                                ^       0
Arcweb_MessageRenderDone_handle #       Arcweb_H
Arcweb_MessageRenderDone_flags  #       Bits
Arcweb_MessageRenderDone_result *       @
Arcweb_MessageRenderDone_result_size #       OS_Coord
                                ^       Arcweb_MessageRenderDone_result
Arcweb_MessageRenderDone_result_error #       228*Char
Arcweb_MessageRenderDone        *       @

                                ^       0
Arcweb_MessagePostRequest_handle #       Arcweb_H
Arcweb_MessagePostRequest_flags #       Bits
Arcweb_MessagePostRequest_source_file #       Int
Arcweb_MessagePostRequest_form_file #       Int
Arcweb_MessagePostRequest_url   #       Arcweb_URL
Arcweb_MessagePostRequest       *       @

                                ^       0
Arcweb_MessagePostDone_handle   #       Arcweb_H
Arcweb_MessagePostDone_flags    #       Bits
Arcweb_MessagePostDone_result   *       @
Arcweb_MessagePostDone_result_expiry #       Arcweb_Expiry
                                ^       Arcweb_MessagePostDone_result
Arcweb_MessagePostDone_result_error #       228*Char
Arcweb_MessagePostDone          *       @

                                ^       0
Arcweb_MessageEmailRequest_handle #       Arcweb_H
Arcweb_MessageEmailRequest_flags #       Bits
Arcweb_MessageEmailRequest_form_file #       Int
Arcweb_MessageEmailRequest      *       @

                                ^       0
Arcweb_MessageEmailDone_handle  #       Arcweb_H
Arcweb_MessageEmailDone_flags   #       Bits
Arcweb_MessageEmailDone_error   #       228*Char
Arcweb_MessageEmailDone         *       @

                                ^       0
Arcweb_MessageImageSize_handle  #       Arcweb_H
Arcweb_MessageImageSize_flags   #       Bits
Arcweb_MessageImageSize_renderer_handle #       Int
Arcweb_MessageImageSize_size    #       OS_Coord
Arcweb_MessageImageSize         *       @

                                ^       0
Arcweb_MessageImageComplete_handle #       Arcweb_H
Arcweb_MessageImageComplete_flags #       Bits
Arcweb_MessageImageComplete_renderer_handle #       Int
Arcweb_MessageImageComplete     *       @

                                ^       0
Arcweb_MessageXferControl_handle #       Arcweb_H
Arcweb_MessageXferControl_flags #       Bits
Arcweb_MessageXferControl_source_file #       Int
Arcweb_MessageXferControl_url   #       Arcweb_URL
Arcweb_MessageXferControl       *       @

                                ^       0
Arcweb_MessageXferControlAck_handle #       Arcweb_H
Arcweb_MessageXferControlAck_flags #       Bits
Arcweb_MessageXferControlAck_error #       228*Char
Arcweb_MessageXferControlAck    *       @

                                ^       0
Arcweb_MessageExpire_handle     #       Arcweb_H
Arcweb_MessageExpire_flags      #       Bits
Arcweb_MessageExpire_url        #       Arcweb_URL
Arcweb_MessageExpire            *       @

                                ^       0
Arcweb_MessageAbortRequest_handle #       Arcweb_H
Arcweb_MessageAbortRequest_reserved #       Int
Arcweb_MessageAbortRequest_reason #       228*Char
Arcweb_MessageAbortRequest      *       @

                                ^       0
Arcweb_MessageTransferStatus_handle #       Arcweb_H
Arcweb_MessageTransferStatus_reserved #       Int
Arcweb_MessageTransferStatus_flags #       Bits
Arcweb_MessageTransferStatus_transmit_total #       Int
Arcweb_MessageTransferStatus_transmit_current #       Int
Arcweb_MessageTransferStatus_receive_total #       Int
Arcweb_MessageTransferStatus_receive_current #       Int
Arcweb_MessageTransferStatus_message #       208*Char
Arcweb_MessageTransferStatus    *       @

                                ^       0
Arcweb_MessageConfigure_reserved #       2*Int
Arcweb_MessageConfigure_application #       228*Char
Arcweb_MessageConfigure         *       @

                                ^       0
Arcweb_MessageExternalLaunch_handle #       Arcweb_H
Arcweb_MessageExternalLaunch_flags #       Bits
Arcweb_MessageExternalLaunch_url #       Arcweb_URL
Arcweb_MessageExternalLaunch    *       @

                                ^       0
Arcweb_MessageLaunchDone_handle #       Arcweb_H
Arcweb_MessageLaunchDone_flags  #       Bits
Arcweb_MessageLaunchDone_error  #       228*Char
Arcweb_MessageLaunchDone        *       @

                                ^       0
Arcweb_MessageWebBrowser_reserved #       2*Int
Arcweb_MessageWebBrowser_browser #       228*Char
Arcweb_MessageWebBrowser        *       @

                                ^       0
Arcweb_MessageColourSelection_reserved #       2*Int
Arcweb_MessageColourSelection_background #       OS_Colour
Arcweb_MessageColourSelection_normal #       OS_Colour
Arcweb_MessageColourSelection_link #       OS_Colour
Arcweb_MessageColourSelection_vlink #       OS_Colour
Arcweb_MessageColourSelection_alink #       OS_Colour
Arcweb_MessageColourSelection_no_images #       OS_Colour
Arcweb_MessageColourSelection   *       @

                                ^       0
Arcweb_MessagePermanentMove_reserved #       2*Int
Arcweb_MessagePermanentMove_from #       Ptr
Arcweb_MessagePermanentMove_from_size #       Int
Arcweb_MessagePermanentMove_to  #       Ptr
Arcweb_MessagePermanentMove_to_size #       Int
Arcweb_MessagePermanentMove     *       @

                                ^       0
Arcweb_FullMessageFetchRequest  Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageFetchRequest_handle #       Arcweb_H
Arcweb_FullMessageFetchRequest_flags #       Bits
Arcweb_FullMessageFetchRequest_source_file #       Int
Arcweb_FullMessageFetchRequest_url #       Arcweb_URL
Arcweb_FullMessageFetchRequest  *       @

                                ^       0
Arcweb_FullMessageFetchDone     Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageFetchDone_handle #       Arcweb_H
Arcweb_FullMessageFetchDone_flags #       Bits
Arcweb_FullMessageFetchDone_result *       @
Arcweb_FullMessageFetchDone_result_expiry #       Arcweb_Expiry
                                ^       Arcweb_FullMessageFetchDone_result
Arcweb_FullMessageFetchDone_result_error #       228*Char
Arcweb_FullMessageFetchDone     *       @

                                ^       0
Arcweb_FullMessageRenderRequest Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageRenderRequest_handle #       Arcweb_H
Arcweb_FullMessageRenderRequest_flags #       Bits
Arcweb_FullMessageRenderRequest_source_file #       Int
Arcweb_FullMessageRenderRequest_temporary_file #       Int
Arcweb_FullMessageRenderRequest_diagram_file #       Int
Arcweb_FullMessageRenderRequest_link_file #       Int
Arcweb_FullMessageRenderRequest_file_header_size #       Int
Arcweb_FullMessageRenderRequest_file_header #       208*Char
Arcweb_FullMessageRenderRequest *       @

                                ^       0
Arcweb_FullMessageRenderDone    Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageRenderDone_handle #       Arcweb_H
Arcweb_FullMessageRenderDone_flags #       Bits
Arcweb_FullMessageRenderDone_result *       @
Arcweb_FullMessageRenderDone_result_size #       OS_Coord
                                ^       Arcweb_FullMessageRenderDone_result
Arcweb_FullMessageRenderDone_result_error #       228*Char
Arcweb_FullMessageRenderDone    *       @

                                ^       0
Arcweb_FullMessagePostRequest   Wimp_MessageHeader_MEMBERS
Arcweb_FullMessagePostRequest_handle #       Arcweb_H
Arcweb_FullMessagePostRequest_flags #       Bits
Arcweb_FullMessagePostRequest_source_file #       Int
Arcweb_FullMessagePostRequest_form_file #       Int
Arcweb_FullMessagePostRequest_url #       Arcweb_URL
Arcweb_FullMessagePostRequest   *       @

                                ^       0
Arcweb_FullMessagePostDone      Wimp_MessageHeader_MEMBERS
Arcweb_FullMessagePostDone_handle #       Arcweb_H
Arcweb_FullMessagePostDone_flags #       Bits
Arcweb_FullMessagePostDone_result *       @
Arcweb_FullMessagePostDone_result_expiry #       Arcweb_Expiry
                                ^       Arcweb_FullMessagePostDone_result
Arcweb_FullMessagePostDone_result_error #       228*Char
Arcweb_FullMessagePostDone      *       @

                                ^       0
Arcweb_FullMessageEmailRequest  Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageEmailRequest_handle #       Arcweb_H
Arcweb_FullMessageEmailRequest_flags #       Bits
Arcweb_FullMessageEmailRequest_form_file #       Int
Arcweb_FullMessageEmailRequest  *       @

                                ^       0
Arcweb_FullMessageEmailDone     Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageEmailDone_handle #       Arcweb_H
Arcweb_FullMessageEmailDone_flags #       Bits
Arcweb_FullMessageEmailDone_error #       228*Char
Arcweb_FullMessageEmailDone     *       @

                                ^       0
Arcweb_FullMessageImageSize     Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageImageSize_handle #       Arcweb_H
Arcweb_FullMessageImageSize_flags #       Bits
Arcweb_FullMessageImageSize_renderer_handle #       Int
Arcweb_FullMessageImageSize_image_coords #       OS_Coord
Arcweb_FullMessageImageSize     *       @

                                ^       0
Arcweb_FullMessageImageComplete Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageImageComplete_handle #       Arcweb_H
Arcweb_FullMessageImageComplete_flags #       Bits
Arcweb_FullMessageImageComplete_renderer_handle #       Int
Arcweb_FullMessageImageComplete *       @

                                ^       0
Arcweb_FullMessageXferControl   Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageXferControl_handle #       Arcweb_H
Arcweb_FullMessageXferControl_flags #       Bits
Arcweb_FullMessageXferControl_source_file #       Int
Arcweb_FullMessageXferControl_url #       Arcweb_URL
Arcweb_FullMessageXferControl   *       @

                                ^       0
Arcweb_FullMessageXferControlAck Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageXferControlAck_handle #       Arcweb_H
Arcweb_FullMessageXferControlAck_flags #       Bits
Arcweb_FullMessageXferControlAck_error #       228*Char
Arcweb_FullMessageXferControlAck *       @

                                ^       0
Arcweb_FullMessageExpire        Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageExpire_handle #       Arcweb_H
Arcweb_FullMessageExpire_flags  #       Bits
Arcweb_FullMessageExpire_url    #       Arcweb_URL
Arcweb_FullMessageExpire        *       @

                                ^       0
Arcweb_FullMessageAbortRequest  Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageAbortRequest_handle #       Arcweb_H
Arcweb_FullMessageAbortRequest_reserved #       Int
Arcweb_FullMessageAbortRequest_reason #       228*Char
Arcweb_FullMessageAbortRequest  *       @

                                ^       0
Arcweb_FullMessageTransferStatus Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageTransferStatus_handle #       Arcweb_H
Arcweb_FullMessageTransferStatus_reserved #       Int
Arcweb_FullMessageTransferStatus_flags #       Bits
Arcweb_FullMessageTransferStatus_transmit_total #       Int
Arcweb_FullMessageTransferStatus_transmit_current #       Int
Arcweb_FullMessageTransferStatus_receive_total #       Int
Arcweb_FullMessageTransferStatus_receive_current #       Int
Arcweb_FullMessageTransferStatus_message #       208*Char
Arcweb_FullMessageTransferStatus *       @

                                ^       0
Arcweb_FullMessageConfigure     Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageConfigure_reserved #       2*Int
Arcweb_FullMessageConfigure_application #       228*Char
Arcweb_FullMessageConfigure     *       @

                                ^       0
Arcweb_FullMessageExternalLaunch Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageExternalLaunch_handle #       Arcweb_H
Arcweb_FullMessageExternalLaunch_flags #       Bits
Arcweb_FullMessageExternalLaunch_url #       Arcweb_URL
Arcweb_FullMessageExternalLaunch *       @

                                ^       0
Arcweb_FullMessageLaunchDone    Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageLaunchDone_handle #       Arcweb_H
Arcweb_FullMessageLaunchDone_flags #       Bits
Arcweb_FullMessageLaunchDone_error #       228*Char
Arcweb_FullMessageLaunchDone    *       @

                                ^       0
Arcweb_FullMessageWebBrowser    Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageWebBrowser_reserved #       2*Int
Arcweb_FullMessageWebBrowser_browser #       228*Char
Arcweb_FullMessageWebBrowser    *       @

                                ^       0
Arcweb_FullMessageColourSelection Wimp_MessageHeader_MEMBERS
Arcweb_FullMessageColourSelection_reserved #       2*Int
Arcweb_FullMessageColourSelection_background #       OS_Colour
Arcweb_FullMessageColourSelection_normal #       OS_Colour
Arcweb_FullMessageColourSelection_link #       OS_Colour
Arcweb_FullMessageColourSelection_vlink #       OS_Colour
Arcweb_FullMessageColourSelection_alink #       OS_Colour
Arcweb_FullMessageColourSelection_no_images #       OS_Colour
Arcweb_FullMessageColourSelection *       @

                                ^       0
Arcweb_FullMessagePermanentMove Wimp_MessageHeader_MEMBERS
Arcweb_FullMessagePermanentMove_reserved #       2*Int
Arcweb_FullMessagePermanentMove_from #       Ptr
Arcweb_FullMessagePermanentMove_from_size #       Int
Arcweb_FullMessagePermanentMove_to #       Ptr
Arcweb_FullMessagePermanentMove_to_size #       Int
Arcweb_FullMessagePermanentMove *       @


        ]
        END
